package DesignMode.Strategy;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}15:54
 */
public class SilverStategy implements Strategy {
    @Override
    public double compute(long money) {
        System.out.println("白银会员 优惠减50");
        return money - 50;
    }

    @Override
    public int getType() {
        return 1;
    }
}
